package com.i2works.smartluolong.utils.base;

/**
 * 静态URL路径常量类
 *
 * @author koal <koal@vip.qq.com>
 * @ClassName URLConstant
 * @date 2015年11月3日 下午9:54:29
 */
public interface URLConstant {


    /**
     * 管理
     */
    interface Admin {
        String ROOT_URL = "/admin/";
        String LOGIN_URL = ROOT_URL + "login"; //登陆
        String LOGOUT_URL = ROOT_URL + "logout";    //退出
        String INDEX_URL = ROOT_URL + "index";    //登陆
        String MAIN_URL = ROOT_URL + "main";    //登陆成功

        String RES_URL = ROOT_URL + "res";                  //资源
        String RES_FORM_URL = ROOT_URL + "res_form";    //资源编辑新增

        String ROLE_URL = ROOT_URL + "role";                //角色
        String ROLE_FORM_URL = ROOT_URL + "role_form";      //角色编辑新增

        String USER_URL = ROOT_URL + "user";                //用户
        String USER_FORM_URL = ROOT_URL + "user_form";      //用户编辑新增
        String USER_PASS_URL = ROOT_URL + "user_password";  //更改密码

        String MENU_URL = ROOT_URL + "menu";                //菜单
        String MENU_FORM_URL = ROOT_URL + "menu_form";      //菜单编辑新增

        String ORG_URL = ROOT_URL + "org";              //组织架构
        String ORG_FORM_URL = ROOT_URL + "org_form";    //组织架构编辑新增
    }

    /**
     * 搜索
     */
    interface Search {
        String ROOT_URL = "/web/";
        String INDEX_URL = ROOT_URL + "search";                  //主页
    }

    /**
     * 用户
     */
    interface User {

        String ROOT_URL = "/user/";
        String LOGIN_URL = ROOT_URL + "login";                    //用户登陆
        String INDEX_URL = ROOT_URL + "index";                    //用户首页
        String USER_URL = ROOT_URL + "account";                    //用户
        String USER_SAVE_URL = ROOT_URL + "account_save";        //用户编辑、新增
        String USER_VIEW_URL = ROOT_URL + "account_view";        //用户查看
        String USER_PASS_URL = ROOT_URL + "account_password";    //更改密码

        String ROLE_URL = ROOT_URL + "role";            //角色
        String ROLE_FORM_URL = ROOT_URL + "role_form";    //角色编辑、新增

        String RES_URL = ROOT_URL + "res";                //资源
        String RES_FORM_URL = ROOT_URL + "res_form";    //资源编辑、新增

        String MENU_URL = ROOT_URL + "menu";            //菜单
        String MENU_FORM_URL = ROOT_URL + "menu_form";    //菜单编辑、新增
    }


}
